@media screen and (max-width: 1366px){
    .gmap {
        .restoration {
            right: 10px;
        }
        .orchardTitle {
            left: 160px;
            height: 25px;
            line-height: 25px;
            padding: 0 5px 0 20px;
            font-size: 12px;
            background-position: 3px center;
            background-size: 15px 15px;
            >div {
                .device-list {
                    left: 15px;
                    li {
                        padding: 0 5px 0 23px;
                    }
                }
                .orchard-list, .device-list {
                    top: 30px;
                    li {
                        line-height: 25px;
                        background-position: 4px center;
                    }
                }
                .device-checked {
                    padding-left: 20px;
                }
            }
        }
        .search {
            left: 10px;
        }
    }
}
@media screen and (min-width: 1367px){
    .gmap {
        .restoration {
            right: 20px;
        }
        .orchardTitle {
            left: 290px;
            height: 30px;
            line-height: 30px;
            padding: 0 10px 0 30px;
            font-size: 14px;
            background-position: 6px center;
            background-size: 20px 20px;
            >div {
                .device-list {
                    left: 15px;
                    li {
                        padding: 0 10px 0 30px;
                    }
                }
                .orchard-list, .device-list {
                    top: 35px;
                    li {
                        line-height: 30px;
                        background-position: 8px center;
                    }
                }
                .device-checked {
                    padding-left: 22px;
                }
            }
        }
        .search {
            left: 20px;
        }
    }
}
.gmap {
    position: relative;
    border-radius: 8px;
    .map {
        width: 100%;
        height: 100%;
    }
    .restoration {
        position: absolute;
        top: 10px;
        width: 35px;
        height: 35px;
        background-color: rgba(75, 82, 94, 0.65); 
        background-image: url('../../assets/images/icons/43.png');
        background-repeat: no-repeat;
        background-position: center;
        //box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
        cursor: pointer;
        border-radius: 50%;
        z-index: 2;
        &:active {
            //box-shadow: none;
            background-image: url('../../assets/images/icons/44.png');
        }
    }
    .orchardTitle {
        display: flex;
        position: absolute;
        top: 10px;
        border-radius: 5px;
        background-color: #1A499A;
        background-image: url('../../assets/images/icons/19.png');
        background-repeat: no-repeat;
        z-index: 1;
        user-select: none;
        //box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
        &:active {
            //box-shadow: none;
            background-image: url('../../assets/images/icons/49.png');
        }
        >div {
            position: relative;
            cursor: pointer;
            >span {
                &:hover {
                    text-decoration: underline;
                }
                &:active {
                    color: #6cebfc;
                }
            }
            .orchard-list {
                left: -10px;
                li {
                    padding: 0 10px;
                }
            }
            .orchard-list, .device-list {
                display: none;
                position: absolute;
                padding: 0 0 5px 0;
                max-height: 210px;
                background-color: #1A499A;
                border-radius: 5px;
                &::before {
                    content: '';
                    position: absolute;
                    width: 100%;
                    height: 10px;
                    top: -10px;
                    left: 0;
                }
                li {
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    background-repeat: no-repeat;
                    background-size: 15px 15px;
                    &:hover {
                        color: #6cebfc;
                        text-decoration: underline;
                    }
                    &:active {
                        color: #6cebfc;
                    }
                }
                .fm1-device-list {
                    background-image: url('../../assets/images//icons/54.png');
                    &:hover {
                        background-image: url('../../assets/images//icons/57.png');
                    }
                }
                .fm2-device-list {
                    background-image: url('../../assets/images//icons/53.png');
                    &:hover {
                        background-image: url('../../assets/images//icons/58.png');
                    }
                }
                .waf-device-list {
                    background-image: url('../../assets/images//icons/55.png');
                    &:hover {
                        background-image: url('../../assets/images//icons/59.png');
                    }
                }
                .A-camera-device {
                    background-image: url('../../assets/images//icons/15.png');
                    &:hover {
                        background-image: url('../../assets/images//icons/45.png');
                    }
                }
                .B-camera-device {
                    background-image: url('../../assets/images//icons/67.png');
                    &:hover {
                        background-image: url('../../assets/images//icons/68.png');
                    }
                }
                .AI-camera-device {
                    background-image: url('../../assets/images//icons/69.png');
                    &:hover {
                        background-image: url('../../assets/images//icons/70.png');
                    }
                }
                .C-camera-device {
                    background-image: url('../../assets/images//icons/71.png');
                    &:hover {
                        background-image: url('../../assets/images//icons/72.png');
                    }
                }
                .orchard-checked {
                    color: #6cebfc;
                    cursor: default;
                }
                .fm1-device-checked {
                    color: #6cebfc;
                    cursor: default;
                    background-image: url('../../assets/images//icons/57.png');
                }
                .fm2-device-checked {
                    color: #6cebfc;
                    cursor: default;
                    background-image: url('../../assets/images//icons/58.png');
                }
                .waf-device-checked {
                    color: #6cebfc;
                    cursor: default;
                    background-image: url('../../assets/images//icons/59.png');
                }
                .A-camera-device-checked {
                    color: #6cebfc;
                    cursor: default;
                    background-image: url('../../assets/images//icons/45.png');
                }
                .B-camera-device-checked {
                    color: #6cebfc;
                    cursor: default;
                    background-image: url('../../assets/images//icons/68.png');
                }
                .AI-camera-device-checked {
                    color: #6cebfc;
                    cursor: default;
                    background-image: url('../../assets/images//icons/70.png');
                }
                .C-camera-device-checked {
                    color: #6cebfc;
                    cursor: default;
                    background-image: url('../../assets/images//icons/72.png');
                }
            }
            .device-checked {
                display: inline-block;
                background-repeat: no-repeat;
                background-position: 0 center;
                background-size: 15px 15px;
            }
            .fm1-checked {
                background-image: url('../../assets/images//icons/54.png');
            }
            .fm2-checked {
                background-image: url('../../assets/images//icons/53.png');
            }
            .waf-checked {
                background-image: url('../../assets/images//icons/55.png');
            }
            .A-camera-checked {
                background-image: url('../../assets/images//icons/45.png');
            }
            .B-camera-checked {
                background-image: url('../../assets/images//icons/68.png');
            }
            .AI-camera-checked {
                background-image: url('../../assets/images//icons/70.png');
            }
            .C-camera-checked {
                background-image: url('../../assets/images//icons/72.png');
            }
            &:hover {
                >ul {
                    display: block;
                }
            }
        }
    }
    .search {
        top: 10px;
    }
}